Package org.python.pydev.debug.ui

Source Code of org.python.pydev.debug.ui.PythonTabGroup

/**
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Author: atotic
* Created: Aug 20, 2003
*/
package org.python.pydev.debug.ui;

import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;
import org.eclipse.debug.ui.CommonTab;
import org.eclipse.debug.ui.EnvironmentTab;
import org.eclipse.debug.ui.ILaunchConfigurationDialog;
import org.eclipse.debug.ui.ILaunchConfigurationTab;
import org.eclipse.debug.ui.RefreshTab;
import org.python.pydev.plugin.PydevPlugin;

/**
* Create tabs for the debugger setup.
*
* <p>
* Creates the tabs in the Debug setup window
* </p>
*
* TODO: Fix tabs so that invalid configuration disables Apply and Run buttons always
*/
public class PythonTabGroup extends AbstractLaunchConfigurationTabGroup {

    public void createTabs(ILaunchConfigurationDialog arg0, String arg1) {
        MainModuleTab mainModuleTab = new MainModuleTab();
        ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { mainModuleTab,
                new ArgumentsTab(mainModuleTab), new InterpreterTab(PydevPlugin.getPythonInterpreterManager()),
                new RefreshTab(), new EnvironmentTab(), new CommonTab() };
        setTabs(tabs);
    }
}
TOP

Related Classes of org.python.pydev.debug.ui.PythonTabGroup

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.